package cn.hk.vaccination.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 普通人接种计划关联表
 * </p>
 *
 * @author xu
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="VaccinesPlanCommon对象", description="普通人接种计划关联表")
public class VaccinesPlanCommon implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "疫苗id")
    private Long vid;

    @ApiModelProperty(value = "计划id")
    private Long pid;

    private String vname;

    private String pname;

    @ApiModelProperty(value = "当前剂")
    private String num;

    @ApiModelProperty(value = "总剂量")
    private String total;

    @ApiModelProperty(value = "1：免费 2：自费")
    private Integer type;

    @ApiModelProperty(value = " 0:库存充足 1:库存紧缺 2:无库存")
    @TableField(exist = false)
    private Integer adequate;


}
